SMTPSocket.Messages Property

Syntax

Messages as EmailMessage


The queue of messages that are waiting to be sent. This is an array of which the 0th element is the next message to be sent.

When a message is sent, it is removed from the queue and passed to the MessageSent event. To append a message to the queue, use the Append method. To remove a message, use the Remove method.